package com.book.core.enums;

public enum CommonStatus {
    NORMAL(0, "正常"),
    DISABLED(1, "禁用"),
    DELETED(2, "删除"),
    ;
    private Integer code;
    private String message;

    CommonStatus(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
